
export const order = {
  path: "order", name: "", component: () => import("@/views/order/index.vue"), children: [
    // { path: "home", component: () => import("@/views/order/home.vue"), meta: { title: "首页", per: 1 } },
    { path: "user", component: () => import("@/views/order/user.vue"), meta: { title: "消费单", ps: "消费单查询" } },
    { path: "input", component: () => import("@/views/order/input.vue"), meta: { title: "入库单", ps: "入库单查询" } },
    { path: "output", component: () => import("@/views/order/output.vue"), meta: { title: "出库单", ps: "出库单查询" } },
    // { path: "replenishment", component: () => import("@/views/order/replenishment.vue"), meta: { title: "补货单", ps: "补货单查询" } },
    // { path: "allot", component: () => import("@/views/order/allot.vue"), meta: { title: "调拨单", ps: "调拨单查询" } },
    // { path: "delivery", component: () => import("@/views/order/delivery.vue"), meta: { title: "配货单", ps: "配货单查询" } },
    // {
    //   path: "data", component: () => import("@/views/order/data/index.vue"), meta: { title: "期初", per: 2 },
    //   redirect: "/order/data/goods", children: [
    //     { path: "goods", component: () => import("@/views/order/data/goods.vue"), meta: { title: "商品", per: 2 } },
    //   ]
    // },

  ], meta: {
    title: "单据"
  },
  get redirect() { return this.children[0].path; }
} as const;
export default order;